package com.airticketbooking.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author Mr.J
 * @version 1.0.0
 * @date 2024/10/21
 * @desc
 */
@Data
public class TicketDTO implements Serializable {

	private Integer ticketId;

	private Integer classId;

	private Integer shceduleId;

	private Integer seatId;

	private BigDecimal price;

	private Date purchaseDate;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime updateTime;

	private Integer status;
}
